Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@any-touch/recognizer

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@any-touch/recognizer

any-touch的识别器的基类.

  • 0.6.1-y.1
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-95.65%
Maintainers
1
Weekly downloads
 
Created
Source

@any-touch/recognizer (内部模块)

所有识别器的基类, 主要管理识别器内部的状态.

说明
possible表示当前还"未识别"
start"拖拽类"手势(pan/pinch/rotate等)中表示"第一次识别."
move"拖拽类"手势中表示"识别后移动中"
end"拖拽类"手势中表示"有触点离开,即手势结束"
cancel手势识别后,发生事件中断,比如"来电话","浏览器最小化"等.
failed表示"识别失败", 比如识别tap的时候,触点在250ms内没有离开屏幕等
recognized表示"已识别", 区别于"拖拽类"手势, 用在"瞬发"识别的手势,比如tap/press/swipe.

FAQs

Package last updated on 15 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc